
package com.rednote.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.rednote.entity.vo.PostVO;

import java.util.List;

public interface RecommendationService {
    public Page<Integer> getRelatedRecommendations(Integer postId, int page, int size) throws JsonProcessingException;
    List<? extends Number> getSimilarPostsFromCache(Integer postId);
    List<Integer> filterViewedPosts(Integer userId,List<Integer> postIds) ;
    List<Integer> calculateRealTimeSimilarity(Integer postId);
}

